Java Script It!
See Also...
Using Java Script It!
Paths
 
When linking images (JPEG or GIF) or HTML documents to applications you may use either absolute or relative paths. An absolute path is one that references the image or document with a complete address. An example of an absolute path is "http://www.javascriptit.com/images/example.gif". A relative path is one that references the image or document with an address that is based on the objects location to the current document. Below are some examples of a relative path...
  • If you are linking to an image called "test.gif" that resides in the same directory as the current document you can reference it by entering...
    "test.gif"
  • If you are linking to a document called "example.htm" that is one directory above the directory that the current document resides in you can enter
    "../example.htm"
  • If you are linking to an image called "sample.jpg" that resides in a directory called "images" which is one directory below the directory that the current document resides in you can enter...
    "images/sample.jpg"
Uploading Files to a Server